package excercise;

public class Q40_Poet {
	// 멤버변수
	private String mno;
	private String title;
	private String writer;
	// 생성자
	public Q40_Poet() { this.mno = ""; this.title = ""; this.writer = ""; }
	public Q40_Poet( String mno, String title, String writer ) {
		this.mno = mno; this.title = title; this.writer = writer;
	}
	// setter/getter 메서드
	public void setMno( String mno ) { this.mno = mno; }
	public void setTitle( String title) { this.title = title; }
	public void setWriter( String writer ) { this.writer = writer; }
	public String getMno() { return mno; }
	public String getTitle() { return title; }
	public String getWriter() { return writer; }
	// getLastFees 시집
	public static int getLastFees( int days ) {
		return days * 400;
	}
	
	
	
}






